<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>营业网点查询</title>
</head>
<body>
    <h1>营业网点查询</h1>
    <table border="1" width="800">
        <thead>
            <tr>
                <th>网点名称</th>
                <th>所在城市</th>
                <th>网点地址</th>
                <th>联系电话</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            <c:forEach items="${brancheslist}" var="item">
                <tr>
                    <td>${item.name}</td>
                    <td>${item.cityAreaName}</td>
                    <td>${item.address}</td>
                    <td>${item.telephone}</td>
                    <td>
                        <a href="update?id=${item.id}">修改</a>
                        <a href="delete?id=${item.id}">删除</a>
                    </td>
                </tr>
            </c:forEach>
        </tbody>
    </table>
    <a href="add">添加</a>
</body>
</html>
